<?php
/**
 * Created by laoyu.
 * User: hilaoyu@qq.com
 * Date: 2018/5/22
 * Time: 17:11
 */

namespace Hilaoyu\LaravelExtend\Providers;

use Illuminate\Support\Facades\Lang;
use Illuminate\Support\ServiceProvider;

class ResourcesLangServiceProvider extends ServiceProvider
{
    public function boot()
    {
        //$this->loadTranslationsFrom(dirname(dirname(__DIR__)).'/resources/lang' ,'*');
        $this->publishes([
            dirname(dirname(__DIR__)).'/resources/lang' => resource_path('lang'),
        ]);
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {

    }
}
